﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 积分
/// </summary>
public class IntegrationModel
{
    /// <summary>
    /// 底分
    /// </summary>
    public int BasePoint;
    /// <summary>
    /// 倍数
    /// </summary>
    public int Multiply;
    /// <summary>
    /// 玩家积分
    /// </summary>
    public int PlayerIntegration;
    public int ComputerLeftIntegration;
    public int ComputerRightIntegration;
    /// <summary>
    /// 总分
    /// </summary>
    public int Results
    {
        get { return BasePoint * Multiply; }
    }

    /// <summary>
    /// 初始化积分
    /// </summary>
    public void InitIntegration()
    {
        PlayerIntegration = 1000;
        ComputerLeftIntegration = 1000;
        ComputerRightIntegration = 1000;
        BasePoint = 100;
        Multiply = 1;
    }
}
